//正例
const index = 0;
export function array1(arg: readonly string[]): void {
  console.info(`${arg[index]}`);
}

export function array2(arg: readonly (readonly string[])[]): void {
  console.info(`${arg[index][index]}`);
}
export function array3(arg: readonly [string, number]): void {
  console.info(`${arg[index][index]}`);
}

export function array4(arg: readonly [readonly string[], number]): void {
  console.info(`${arg[index][index]}`);
}

export function primitive1(arg: string): void {
  console.info(`${arg}`);
}

export function primitive2(arg: number): void {
  console.info(`${arg}`);
}

export function primitive3(arg: boolean): void {
  console.info(`${arg}`);
}

export function primitive5(arg: null): void {
  console.info(`${arg}`);
}

export function primitive6(arg: undefined): void {
  console.info(`${arg}`);
}